import { Column, CreateDateColumn, Entity, ObjectId, ObjectIdColumn } from "typeorm"

@Entity("orderInfo")
export class orderInfo {
    @ObjectIdColumn()  
    _id: ObjectId;  
  
    @Column()  
    userId: string;  
  
    @Column()  
    storeId: string;

    @Column()
    addressId: string;

    @Column()
    flag: string;

    @CreateDateColumn()
    date: Date;
}
